#{extends 'main.html' /}
#{set title:'Your Requests' /}

<div id="main" style="padding-top:0px">
  #{if requests}
  <ul>
    #{list items:requests, as:'request'}
    <li>
      Request Title: ${request.title} <a href="@{Application.showRequestDetails(request.id)}">(show details)</a>
    </li>
    #{/list}
  </ul>
  #{/if}
  #{else}
  Currently you have no requests.
  #{/else}
</div>
